Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always trigger layout instead of trying to skip it based on item changes #240

Merged
merged 12 commits into from
Jul 23, 2024

Conversation

rubensousa
Copy link
Owner

@rubensousa rubensousa commented Jul 12, 2024

Changes:

  1. Layout pass is not skipped if adapter changes are out of bounds because it might still affect the entire layout structure
  2. Manual selection requests are cancelled when new layout passes are triggered
  3. Always focus the selected view on each layout to prevent alignment issues
  4. onFocusChanged now triggers focus on the next available frame, to prevent java.lang.IllegalStateException: Cannot call removeView(At) within removeView(At) #241

@rubensousa rubensousa merged commit b7c140f into master Jul 23, 2024
6 checks passed
@rubensousa rubensousa deleted the predictive_animations branch July 23, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant